﻿{template admin_improt}
<script type="text/javascript">
$(document).ready(function(){
	$("#startTime").datepicker($.datepicker.regional['zh-CN']);
});
$(document).ready(function(){
	$("#endTime").datepicker($.datepicker.regional['zh-CN']);
});
function checkAllpartner(form, name) {
	for(var i = 0; i < form.elements.length; i++) {
		var e = form.elements[i];
		if(e.name.match(name)) {
			e.checked = form.elements['chkall'].checked;
		}
	}
}
</script>
<script type="text/javascript">
function ProductsSubmit(type){
	//type;1为推荐;2为取消推荐;3为批量删除
	if(type == 1){
		document.getElementById("p_form").action = "?p=hiring&a=Recommend&recommend=1";
		//alert(123);
		document.getElementById("p_form").submit();
        return true;
	} else if(type == 2) {
		document.getElementById("p_form").action = "?p=hiring&a=Recommend&recommend=2";
		document.getElementById("p_form").submit();
		return true;
	} if(type == 3) {
		if(confirm("确认删除所有选中数据么？操作不可恢复")){
			document.getElementById("p_form").action = "?p=user&a=delall";
			document.getElementById("p_form").submit();
			return true;
		} else {
			return false;
		}
	} else {
		return false;
	}
}

function delProducts(mid){
	if(confirm("确认执行此操作么？操作不可恢复")){
		window.location="admin.php?p=admin_user&a=del&a_id="+mid;
	}
}
</script>
<div class="mainStyle">
	<div class="mainTitle">
		<span class="mainTitle_text">
			添加图片
		</span>
	</div>
<div>
	<form id='form1' name='form1' action='admin.php?p=uploadImg&a=shangchuan' enctype='multipart/form-data' method='post'>
			<span>
				<input type='file' name='files' id='files' />
				<input type='submit' name='sub' id='sub' value='上传'/>
				</span>
		
		
		</form>
	<span>
			
		</span>
	
	</div>

</div>
{template admin_bottom}